import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/check_layer_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/check_layer_entity.g.dart';

@JsonSerializable()
class CheckLayerEntity {

	CheckLayerEntity();

	factory CheckLayerEntity.fromJson(Map<String, dynamic> json) => $CheckLayerEntityFromJson(json);
	String? id;
	/// 图层名称
	String? layerName;
	/// 模块编号：0 仓储；1 双重预防；2 特殊作业 3；重大危险源；4 教育培训；5 敏捷应急；6封闭化；7 其他
	String? model;
	/// 启用状态,1启用，0停用
	int? status;
	String? createDate;
	String? updateDate;
	/// 逻辑删除标识: 0，正常；1，已删除
	String? deleted;
	List<int>? mainList;

	Map<String, dynamic> toJson() => $CheckLayerEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}